import{r as l,o as d,l as r,v as u,e as c,f as h}from"./light-75a6df3b.js";import{ak as f,bZ as p,e as m,am as b,v as g}from"./index-68beeb37.js";function v(e,s,n){if(!s)return;const o=l(),a=f(d,null),t=()=>{const i=n==null?void 0:n.value;s.mount({id:i===void 0?e:i+e,head:!0,anchorMetaName:r,props:{bPrefix:i?`.${i}-`:void 0},ssr:o}),a!=null&&a.preflightStyleDisabled||u.mount({id:"n-global",head:!0,anchorMetaName:r,ssr:o})};o?t():p(t)}const M=c("base-icon",`
 height: 1em;
 width: 1em;
 line-height: 1em;
 text-align: center;
 display: inline-block;
 position: relative;
 fill: currentColor;
 transform: translateZ(0);
`,[h("svg",`
 height: 1em;
 width: 1em;
 `)]),B=m({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){v("-base-icon",M,b(e,"clsPrefix"))},render(){return g("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}});export{B as N,v as u};
